package com.uzipi.springcloud.eurekaconsumerfeign.controller;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * <p>name：DcClient </p>
 * <p>description: 服务发现客户端接口 </p>
 *
 * @author uzipi
 * @version v1.0
 */

@FeignClient("eureka-client")   // 指定 eureka 服务提供方
public interface DcClient {

    @GetMapping("/dc")
    String consumer();
}
